package com.huike.clues.mapper;


import com.huike.clues.domain.TbClueTrackRecord;
import com.huike.clues.domain.vo.ClueTrackRecordVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import com.huike.clues.domain.TbClueTrackRecord;
import org.apache.ibatis.annotations.Insert;

/**
 * 线索跟进记录Mapper接口
 * @date 2021-04-19
 */
public interface TbClueTrackRecordMapper {


    /**
     * 线索跟进，更新线索表字段
     * @param tbClueTrackRecord
     */
    void updateTbClue(ClueTrackRecordVo tbClueTrackRecord);

    /**
     * 添加跟进中的字段
     * @param tbClueTrackRecord
     */
    void add(TbClueTrackRecord tbClueTrackRecord);

    /**
     * 查询跟进记录表
     * @param clueId
     * @return
     */
    List<TbClueTrackRecord> findAll(@Param("clueId") Long clueId);

}
